﻿using System;

namespace QUANLYCHAMCONG.BL.Entities
{
	public class HOPDONG
	{
		#region ***** Fields & Properties ***** 
		private string _MAHD;
		public string MAHD
		{ 
			get 
			{ 
				return _MAHD;
			}
			set 
			{ 
				_MAHD = value;
			}
		}
		private string _MALHD;
		public string MALHD
		{ 
			get 
			{ 
				return _MALHD;
			}
			set 
			{ 
				_MALHD = value;
			}
		}
		private string _MANV;
		public string MANV
		{ 
			get 
			{ 
				return _MANV;
			}
			set 
			{ 
				_MANV = value;
			}
		}
		private int _THOIHAN;
		public int THOIHAN
		{ 
			get 
			{ 
				return _THOIHAN;
			}
			set 
			{ 
				_THOIHAN = value;
			}
		}
		private string _MATG;
		public string MATG
		{ 
			get 
			{ 
				return _MATG;
			}
			set 
			{ 
				_MATG = value;
			}
		}
		private DateTime _NGAYBD=DateTime.Now.Date;
		public DateTime NGAYBD
		{ 
			get 
			{ 
				return _NGAYBD;
			}
			set 
			{ 
				_NGAYBD = value;
			}
		}
        private DateTime _NGAYKT = DateTime.Now.Date;
		public DateTime NGAYKT
		{ 
			get 
			{ 
				return _NGAYKT;
			}
			set 
			{ 
				_NGAYKT = value;
			}
		}
		private string _NGUOIKY;
		public string NGUOIKY
		{ 
			get 
			{ 
				return _NGUOIKY;
			}
			set 
			{ 
				_NGUOIKY = value;
			}
		}
		#endregion

		#region ***** Init Methods ***** 
		public HOPDONG()
		{
		}
		public HOPDONG(string mahd)
		{
			this.MAHD = mahd;
		}
		public HOPDONG(string mahd, string malhd, string manv, int thoihan, string matg, DateTime ngaybd, DateTime ngaykt, string nguoiky)
		{
			this.MAHD = mahd;
			this.MALHD = malhd;
			this.MANV = manv;
			this.THOIHAN = thoihan;
			this.MATG = matg;
			this.NGAYBD = ngaybd;
			this.NGAYKT = ngaykt;
			this.NGUOIKY = nguoiky;
		}
		#endregion
	}
}
